package com.luozongyao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;


//阿里云oss没有关于dataSource相关的配置信息
// spring boot 会默认加载org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration这个类
//防止缺少时出现报错
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class,scanBasePackages={ "com.luozongyao"})
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan({"com.luozongyao.*.mapper"})
@EnableScheduling
public class VideoStationAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(VideoStationAdminApplication.class, args);
    }

}
